package cc.site.main.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * <p>
 * 房间
 * </p>
 *
 * @author yangruomao
 * @since 2024-04-14
 */
@TableName("tbl_room")
@ApiModel(value = "TblRoom对象", description = "房间")
@Data
@ToString
public class TblRoom implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("房间名")
    private String name;

    @ApiModelProperty("详细信息")
    private String description;


    @ApiModelProperty("房间照片url")
    private String pic;

    @TableLogic
    private Integer deleted;

}
